<template>
    <div class="top">
        <div class="title">
            WOMEN
        </div>
        <div class="choose">
            <router-link to="/women/index/all">ALL</router-link>
            <router-link to="/women/index/guangzhou">GUANGZHOU</router-link>
        </div>
    </div>

    <router-view></router-view>
</template>

<script setup lang="ts">

</script>

<style lang="scss" scoped>

.top {
    margin-top: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;


    .title {
        margin-top: 25px;
        font-size: 70px;
        color: black;
        display: flex;
        justify-content: center;
    }

    .choose {

        display: flex;
        font-size: 16px;
        margin-top: 25px;

        .router-link-active {
            color: black;

            &::after {
                opacity: 1;
            }
        }

        a:nth-child(1)
        {
            margin-right: 75px;
        }

        a {
            color: #666666;
            text-decoration: none;
            // margin-right: 75px;
            display: block;
            position: relative;

            &::after {
                content: '';
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                bottom: -5px;
                width: 30px;
                height: 2px;
                background: #666666;
                transition: all .4s;
                opacity: 0;
            }

            &:hover {
                color: black;

                &::after {
                    background-color: black;
                    opacity: 1;
                }
            }
        }
    }
}
</style>